package adapter;

public class Translator extends Player {

    private ForeignCenter center = new ForeignCenter();

    public Translator(String name) {
        super(name);
        center.setName(name);
    }

    @Override
    public void attack() {
        center.进攻();
    }

    @Override
    public void defence() {
        center.防守();
    }
}
